package cn.tedu.spring.resource;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestWeiboMapper {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext acac = new AnnotationConfigApplicationContext("cn/tedu/spring/resource");
        WeiboMapper weiboMapper = acac.getBean(WeiboMapper.class);
        System.out.println("weiboMapper = " + weiboMapper);
    }
}
